<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Main Complaint - Pains</title>
<link rel="stylesheet" href="../../style/primaryCSS.css"/>
<link rel="stylesheet" href="../../style/radiobuttons.css"/>
<link rel="stylesheet" href="../../style/input.css"/>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script>
<script type="text/javascript" src="../../javascript/JavaScript1.js"></script>
</head>

<?php
	//include("includes/connect.php");
	$userID = $_POST['users_idNum'];
	$userID = intval($userID);
	$complaint = $_POST["complaints_complaint"];
    include ("../../database/updateUser.php");
	
?>

<body>

<div id="main_div">
	<h1>תלונה עיקרית - כאבים \ תחושת אי נעימות</h1>
    
<form id="Main_complaint_pain" method="post" action="output.php" enctype="multipart/form-data">

	<!-- HIDDEN FIELDS -->
    <input type="text" name="users_idNum" hidden="true" value= "<?php echo htmlspecialchars($userID);?>" />
    <input type="text" name="complaints_complaint" hidden="true" value="<?php echo htmlspecialchars($complaint);?>"/>

	<h2>כאב - ממוקם בבטן</h2>

	<div class="radiobuttons">

		<h3>היכן בבטן ממוקם הכאב?</h3>
	
        <input type="radio" name="pain_Location" id="painLocation1" value="upperRight"/>
	    <label class="radiolabel" for="painLocation1">בטן עליונה - ימין</label>
    	<input type="radio" name="pain_Location" id="painLocation2" value="upperCenter"/>
        <label class="radiolabel" for="painLocation2">בטן עליונה - מרכז</label>
	    <input type="radio" name="pain_Location" id="painLocation3" value="upperLeft"/>
    	<label class="radiolabel" for="painLocation3">בטן עליונה - שמאל</label>
        <input type="radio" name="pain_Location" id="painLocation4" value="midRight"/>
	    <label class="radiolabel" for="painLocation4">בטן אמצעית - ימין</label>
    	<input type="radio" name="pain_Location" id="painLocation5" value="midCenter"/>
        <label class="radiolabel" for="painLocation5">בטן אמצעית - מרכז</label>
    	<input type="radio" name="pain_Location" id="painLocation6" value="midLeft"/>
        <label class="radiolabel" for="painLocation6">בטן אמצעית - שמאל</label>
        <input type="radio" name="pain_Location" id="painLocation7" value="lowerRight"/>
	    <label class="radiolabel" for="painLocation7">בטן תחתונה - ימין</label>
    	<input type="radio" name="pain_Location" id="painLocation8" value="lowerCenter"/>
        <label class="radiolabel" for="painLocation8">בטן תחתונה - מרכז</label>
    	<input type="radio" name="pain_Location" id="painLocation9" value="lowerLeft"/>
        <label class="radiolabel" for="painLocation9">בטן תחתונה - שמאל</label>
    	<input type="radio" name="pain_Location" id="painLocation10" value="none"/>
        <label class="radiolabel" for="painLocation10">ללא מיקום מדויק \ נודד</label>
        
        <h3>מלווה בכאב כללי בגוף?</h3>
        <input type="radio" name="pain_addBodyPain" id="addBodyPain1" value="1"/>
        <label class="radiolabel" for="addBodyPain1">כן</label>
    	<input type="radio" name="pain_addBodyPain" id="addBodyPain2" value="0"/>
        <label class="radiolabel" for="addBodyPain2">לא</label>

	</div>
    
    <h3>כמה זמן הכאב נמשך?</h3>
	<input type="number" name="pain_Duration" max="10" min="1" />
    <div class="radiobuttons">

        <input type="radio" name="pain_DurationUnits" id="painDurationUnits1" value="days"/>
        <label class="radiolabel" for="painDurationUnits1">ימים</label>
    	<input type="radio" name="pain_DurationUnits" id="painDurationUnits2" value="weeks"/>
        <label class="radiolabel" for="painDurationUnits2">שבועות</label>
    	<input type="radio" name="pain_DurationUnits" id="painDurationUnits3" value="months"/>
        <label class="radiolabel" for="painDurationUnits3">חודשים</label>
    	
    </div>	
    
    <div class="checkboxdiv">
        <h3>סוג הכאב</h3>    
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="דוקר"/>דוקר</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="לוחץ"/>לוחץ</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="מכווץ / מעוות"/>מכווץ \ מעוות</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="שורף"/>שורף</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="עמום \ אי-נעימות"/>עמום \ אי-נעימות</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Type[]" value="נפיחות (מלאות)"/>נפיחות (מלאות)</label>

    </div>

    <div class="radiobuttons">
		
        <h3>אפיון הכאב</h3>
        <input type="radio" name="pain_Characterization" id="painChar1" value="constant"/>
        <label class="radiolabel" for="painChar1">כל הזמן</label>
    	<input type="radio" name="pain_Characterization" id="painChar2" value="constantAlternating"/>
        <label class="radiolabel" for="painChar2">בא והולך כל הזמן</label>
    	<input type="radio" name="pain_Characterization" id="painChar3" value="daytime"/>
        <label class="radiolabel" for="painChar3">בעיקר ביום</label>
    	<input type="radio" name="pain_Characterization" id="painChar4" value="nighttime"/>
        <label class="radiolabel" for="painChar4">בעיקר בלילה</label>
    	
    </div>	

    <div class="radiobuttons">
		
        <h3>יחס לאוכל</h3>
        <input type="radio" name="pain_foodConection" id="foodConection1" value="none"/>
        <label class="radiolabel" for="foodConection1">אין קשר</label>
    	<input type="radio" name="pain_foodConection" id="foodConection2" value="increase"/>
        <label class="radiolabel" for="foodConection2">הכאב מתגבר לאחר האוכל</label>
    	<input type="radio" name="pain_foodConection" id="foodConection3" value="decrease"/>
        <label class="radiolabel" for="foodConection3">הכאב פוחת לאחר האוכל</label>
    	
    </div>	

    <div class="radiobuttons">
		
        <h3>יחס לפעילות מעיים (שירותים)</h3>
        <input type="radio" name="pain_bowelConection" id="bowelConection1" value="none"/>
        <label class="radiolabel" for="bowelConection1">אין קשר</label>
    	<input type="radio" name="pain_bowelConection" id="bowelConection2" value="increase"/>
        <label class="radiolabel" for="bowelConection2">מחמיר לאחר היציאה</label>
    	<input type="radio" name="pain_bowelConection" id="bowelConection3" value="decrease"/>
        <label class="radiolabel" for="bowelConection3">מוקל לאחר היציאה</label>
    	
    </div>	
    
	<div class="radiobuttons">
        
		<h3>האם לקחת תרופות במועד \ לפני תחילת התסמינים?</h3>
	    <input type="radio" name="pain_priorMedication" id="priormed1" value="1"/>
    	<label class="radiolabel" for="priormed1">כן</label>    
    	<input type="radio" name="pain_priorMedication" id="priormed2" value="0"/>
    	<label class="radiolabel" for="priormed2">לא</label>
        
	</div>        
    
	<div class="radiobuttons">
        
		<h3>האם יש משהו מסויים שמקל על הכאב?</h3>
	    <input type="radio" name="pain_relieve" id="painEase1" value="1"/>
    	<label class="radiolabel" for="painEase1">כן</label>    
    	<input type="radio" name="pain_relieve" id="painEase2" value="0"/>
    	<label class="radiolabel" for="painEase2">לא</label>
        
	</div>        

    <div class="checkboxdiv">
            
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="מאכל מסויים"/>מאכל מסויים</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="מאמץ"/>מאמץ</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="תנוחה מסויימת / הפעלת לחץ"/>תנוחה מסויימת \ הפעלת לחץ</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="משכך כאבים"/>משכך כאבים (אקמול, אדוויל, אופטלגין וכו")</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="תרופה מסויימת"/>תרופה מסויימת</label>
        <label class="checkboxdata"><input type="checkbox" name="pain_Easer[]" value="אחר"/>אחר</label>

    </div>

	<div class="radiobuttons">
        
		<h3>האם הכאב מקרין לאנשהו?</h3>
	    <input type="radio" name="pain_Projects" id="painProjects1" value="1"/>
    	<label class="radiolabel" for="painProjects1">כן</label>    
    	<input type="radio" name="pain_Projects" id="painProjects2" value="0"/>
    	<label class="radiolabel" for="painProjects2">לא</label>
		<h3>נא לסמן</h3>
        <input type="radio" name="pain_Projection" id="painProjection1" value="upperRight"/>
	    <label class="radiolabel" for="painProjection1">בטן עליונה - ימין</label>
    	<input type="radio" name="pain_Projection" id="painProjection2" value="upperCenter"/>
        <label class="radiolabel" for="painProjection2">בטן עליונה - מרכז</label>
	    <input type="radio" name="pain_Projection" id="painProjection3" value="upperLeft"/>
    	<label class="radiolabel" for="painProjection3">בטן עליונה - שמאל</label>
        <input type="radio" name="pain_Projection" id="painProjection4" value="midRight"/>
	    <label class="radiolabel" for="painProjection4">בטן אמצעית - ימין</label>
    	<input type="radio" name="pain_Projection" id="painProjection5" value="midCenter"/>
        <label class="radiolabel" for="painProjection5">בטן אמצעית - מרכז</label>
    	<input type="radio" name="pain_Projection" id="painProjection6" value="midLeft"/>
        <label class="radiolabel" for="painProjection6">בטן אמצעית - שמאל</label>
        <input type="radio" name="pain_Projection" id="painProjection7" value="lowerRight"/>
	    <label class="radiolabel" for="painProjection7">בטן תחתונה - ימין</label>
    	<input type="radio" name="pain_Projection" id="painProjection8" value="lowerCenter"/>
        <label class="radiolabel" for="painProjection8">בטן תחתונה - מרכז</label>
    	<input type="radio" name="pain_Projection" id="painProjection9" value="lowerLeft"/>
        <label class="radiolabel" for="painProjection9">בטן תחתונה - שמאל</label>
                
	</div>        
    
	<div class="radiobuttons">

		<h3>האם חווית כאב כזה בעבר?</h3>
    	<input type="radio" name="pain_recurring" id="reccurPain1" value="yes"/>
    	<label class="radiolabel" for="reccurPain1">כן</label>    
    	<input type="radio" name="pain_recurring" id="reccurPain2" value="no"/>
    	<label class="radiolabel" for="reccurPain2">לא</label>
	
    </div>

    <div class="radiobuttons">

				<h3>האם ישנם תסמינים נוספים (מלבד כאבים)?</h3>
                <input type="radio" class="condButton" id="additionalpains1" name="none_additional" value="yes"/>
                <label class="radiolabel" for="additionalpains1">כן</label>
                <input type="radio" class="condButton" id="additionalpains2" name="none_additional" value="no"/>
    			<label class="radiolabel" for="additionalpains2">לא</label>		
	                            
                <ul class="nav" hidden>
                    <input type="submit" class="condButton" id="submitButton" hidden/>
                    <label for="submitButton">שלח</label>
                </ul>  
    </div>      
    
    </form>

</div>

</body>
</html>
